package org.mics.cyy.modular.notice.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Where;
import org.mics.jpa.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 公告
 * @author mics
 * @date 2023-10-10
 * @version  1.0
 */
@Data
@Entity
@Table(name = "t_notice")
@Where(clause = "bln_del = 0")
@EqualsAndHashCode(callSuper = false)
public class NoticeDO extends BaseEntity{
	
	@Column(name = "title",columnDefinition = "varchar(32) comment '标题' ",nullable = false)
	private String title;
	
	@Column(name = "type_id",columnDefinition = "varchar(32) comment '公告类型id' ",nullable = false)
	private String typeId;
	
	@Column(name = "content",columnDefinition = "BLOB   comment '公告类型id' ",nullable = false)
	private String content;
}
